package demo.bocweb.com.book;

import demo.bocweb.com.book.bean.book.BookListBean;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by zhelun on 2018/1/18.
 */

public interface Api {
    public final static String HOST = "Https://api.douban.com/";

    @GET("v2/book/search")
    Observable<BookListBean> getBookListWithTag(@Query("tag") String tag, @Query("start") int
            start, @Query("count") int count);
}
